package com.academic_system.model;


/**
 * @author Y-Rainson
 * @create 2018-03-31 23:06
 **/

/**
 * @Description: 修改通知 ：去掉了tea_info_id属性。要获取某学期该门课程的授课信息，请在CourseTerm 表中获取
 *                        还有就是取消了courseNum作为联合主键，其他表中若有关联course表的请手动将courseNum 属性删除
 * @author: 20155872 游宇
 * @createTime: 2018/5/15 16:06
 **/
public class Course {
    private Integer courseId;
    private String courseName;
    private Integer courseNum;
    private Integer academyId;
    private Integer courseCredithour;
    private Integer coursePeriod;
    private String courseType;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Integer getCourseNum() {
        return courseNum;
    }

    public void setCourseNum(Integer courseNum) {
        this.courseNum = courseNum;
    }

    public Integer getAcademyId() {
        return academyId;
    }

    public void setAcademyId(Integer academyId) {
        this.academyId = academyId;
    }

    public Integer getCourseCredithour() {
        return courseCredithour;
    }

    public void setCourseCredithour(Integer courseCredithour) {
        this.courseCredithour = courseCredithour;
    }

    public Integer getCoursePeriod() {
        return coursePeriod;
    }

    public void setCoursePeriod(Integer coursePeriod) {
        this.coursePeriod = coursePeriod;
    }

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    @Override
    public String toString() {
        return "Course{" +
                "courseId=" + courseId +
                ", courseName='" + courseName + '\'' +
                ", courseNum=" + courseNum +
                ", academyId=" + academyId +
                ", courseCredithour=" + courseCredithour +
                ", coursePeriod=" + coursePeriod +
                ", courseType='" + courseType + '\'' +
                '}';
    }
}
